import { BasicColumn } from '@/components/Table/src/types/table';

export function getBasicColumns(): BasicColumn[] {
  return [
    {
      title: '分配小程序APPID',
      dataIndex: 'appId',
      width: 100,
    },
    {
      title: '小程序所属机构',
      dataIndex: 'orgName',
      width: 100,
    },
    {
      title: '额度来源订单',
      dataIndex: 'orderId',
      width: 100,
    },
    {
      title: '分配额度',
      dataIndex: 'allotment',
      width: 100,
    },
    {
      title: '分配状态',
      dataIndex: 'orderState',
      width: 100,
      slots: { customRender: 'orderState' },
    },
    {
      title: '分配后总额',
      dataIndex: 'allotmentTotal',
      width: 100,
    },
    {
      title: '分配人',
      dataIndex: 'assignerName',
      width: 100,
    },
    {
      title: '分配时间',
      dataIndex: 'createTime',
      width: 100,
    },
    {
      title: '资源到期时间',
      dataIndex: 'endTime',
      width: 100,
    },
    {
      title: '备注',
      dataIndex: 'remark',
      width: 100,
    },
  ];
}
